package com.wjj.sixinone.common.pojo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class InstrumentExcel {

    @ExcelProperty(value = "仪器编号", index = 0)

    /**
     * 仪器代号
     */
    private String instrumentNo;


    /**
     * 仪器名称
     */
    @ExcelProperty(value = "仪器名称", index = 1)
    private String instrumentName;
    @ExcelProperty(value = "仪器图片", index = 2)
    private String img;
    @ExcelProperty(value = "仪器价格", index = 3)

    /**
     * 仪器价格
     */
    private String instrumentPrice;

    /**
     * 仪器库存数量
     */

    @ExcelProperty(value = "仪器库存数量", index = 4)
    private String instrumentQuantity;

    /**
     * 仪器备注
     */
    @ExcelProperty(value = "仪器备注", index = 5)
    private String instrumentRen;
    @ExcelProperty(value = "创建人", index = 6)
    private String createUser;
    @ExcelProperty(value = "更新人", index = 7)
    private String updateUser;
    @ExcelProperty(value = "创建时间", index = 8)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ExcelProperty(value = "更新时间", index = 9)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")

    private LocalDateTime updateTime;
}
